<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
    
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Acme Catalog</title>
<!--  <link href="http://localhost:8080/acme/css/css.css" type="text/css" rel="stylesheet"/>
-->

</head>
<body>
<table>
	<tr><th>ID</th><th>NAME</th><th>PERFORMER</th><th>SHORT DESC</th><th>LONG DESC</th><th>CATEGORY</th><th>SUBCATEGORY</th><th>PRICE</th><th>RATING</th></tr>
	<c:forEach var="pb" items="${resultSet}">
		<jsp:useBean id="pb" class="com.dmp.onlinestore.model.dto.ProductBean"/>
		<tr>
			<td>${pb.id}</td>
			<td>${pb.name}</td>
			<td>${pb.performers}</td>
			<td>${pb.descShort}</td>
			<td>${pb.descLong}</td>
			<td>${pb.category}</td>
			<td>${pb.subcategory}</td>
			<td>${pb.price}</td>
			<td>${pb.rating}</td>
		</tr>
	</c:forEach>
</table>


</body>
</html>